<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta name="author" content="帅哥or美女">
    <title>登录 - 问答项目</title>
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="styles/all.css">
    <style>

    </style>
</head>

<body>
    <nav class="navbar navbar-inverse navbar-fixed-top">
        <div class="container">
            <div class="row">
                <div class="navbar-title">
                    <span id="goBack" class="glyphicon glyphicon-chevron-left pull-left"></span>登录
                    <span id="register" class="glyphicon glyphicon-plus-sign pull-right"></span>
                </div>
            </div>
        </div>
    </nav>
    <div class="container">
        <form action="/user/signin" method="POST">
            <div class="form-group">
                <input type="text" name="petname" class="form-control" required pattern="^[\u4e00-\u9fa5a-zA-Z0-9]{2,16}$" placeholder="请输入昵称">
            </div>
            <div class="form-group">
                <input type="password" name="password" class="form-control" pattern="^.{6,16}$" required placeholder="请输入密码">
            </div>
            <input type="submit" class="btn btn-success form-control" value="登录">
        </form>
    </div>
    <!--添加模态框-->
    <div class="modal fade" tabindex="-1" role="dialog">
        <div class="modal-dialog modal-sm" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title">智游教育</h4>
                </div>
                <div class="modal-body">
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">确定</button>
                </div>
            </div>
            <!-- /.modal-content -->
        </div>
        <!-- /.modal-dialog -->
    </div>
    <!-- /.modal -->

    <script src="js/jquery.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script src="scripts/signin.js"></script>
</body>

</html>